package com.aps.apspda.entity;

import android.view.View;

import java.io.Serializable;

/**
 * @author lx
 * @date 2018/7/18
 * @desc
 */

public class TabIndexGridEntity implements Serializable {
    private int picId;
    private String text;
    private View.OnClickListener onClickListener;

    public TabIndexGridEntity(int picId, String text, View.OnClickListener onClickListener) {
        this.picId = picId;
        this.text = text;
        this.onClickListener = onClickListener;
    }

    public int getPicId() {
        return picId;
    }

    public void setPicId(int picId) {
        this.picId = picId;
    }

    public String getText() {
        return text == null ? "" : String.valueOf(text);
    }

    public void setText(String text) {
        this.text = text;
    }

    public View.OnClickListener getOnClickListener() {
        return onClickListener;
    }

    public void setOnClickListener(View.OnClickListener onClickListener) {
        this.onClickListener = onClickListener;
    }
}
